package com.hb.common.dto;

public class DatabaseDto {

    /**
     * 唯一id，用来区分数据库
     */
    private Integer id;

    /**
     * 连接名称
     */
    private String connectName;

    /**
     * 数据库类型
     */
    private String dbType;

    /**
     * 数据库主机地址
     */
    private String host;

    /**
     * 数据库名称
     */
    private String dbName;

    /**
     * 备份文件数量
     */
    private Integer fileCount;

    /**
     * 最大文件数量
     */
    private Integer maxFileNum;

    /**
     * 定时备份周期cron
     */
    private String cron;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getConnectName() {
        return connectName;
    }

    public void setConnectName(String connectName) {
        this.connectName = connectName;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public Integer getFileCount() {
        return fileCount;
    }

    public void setFileCount(Integer fileCount) {
        this.fileCount = fileCount;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public Integer getMaxFileNum() {
        return maxFileNum;
    }

    public void setMaxFileNum(Integer maxFileNum) {
        this.maxFileNum = maxFileNum;
    }
}
